import Mock from 'mockjs';

let item = [{
		key: "/jltkjl/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/jltkjl/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"tqjlid": '@natural',
						"jlname": "@cname",
						"cover" : "https://bpic.588ku.com/element_origin_min_pic/23/04/24/fb516c81dadf05e4abe0e2c5cf44598a.jpg",
						"sjje": 1000,
						"jlid": '001',
						"zt|1": [
							"R",
							"F"
						],
						"ct": "@datetime"
					}]
				}
			});
		}
	},
	{
		key: "/jltkjl/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages':6,
					'total': 55,
					"tqjlid" : "@natural",
					"jlid" : "@natural",
					"openid" : "@natural",
					"jlname" : "@cname",
					"amount" : 1200,
					"sjje" : 1000,
					"ccbl" : 0.1,
					"ct": "@datetime",
					"zt|1": [
						"R",
						"F"
					],
					"amount" : "10000",
					"clientbm|12":[
						{
							"bmid" : "@Integer(1,10)",
							"khnc" : "@cname",
							"price" : 500,
							"kcmc" : "瑜伽课",
							"st" : "@datetime",
							"et" : "@datetime",
							"ct": "@datetime"
						},
					]
				}
			})
		}
	},

	{
		key: "/jltkjl/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/jltkjl/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/jltkjl/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;